Derivation of the equations of linear motion